package com.mvu.banana.internal.server;


import com.mvu.banana.domain.client.Gender;
import com.mvu.banana.domain.stub.Credential;
import com.mvu.banana.internal.builder.ProfileBuilderStub;
import org.joda.time.DateMidnight;

import static com.mvu.banana.internal.server.RandomGenerator.randomName;
import static com.mvu.banana.internal.server.RandomGenerator.randomString;

public class ProfileBuilder extends ProfileBuilderStub {
  
  public void init(){
    withEmail(randomString() + "@demo.com");
    withGender(Gender.MALE);
    withName(randomName());
    withBirthDate(new DateMidnight(1983,4,1).toDate());
  }
}